package com.miniportal.base.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author zhouje
 * @date 2022/5/31
 */
public class GeneratorCodeUtil {

    public static String generateCode(String belongParkCode){
        SimpleDateFormat format = new SimpleDateFormat("yyyyMMddhhmmss");
        String dateStr = format.format(new Date());
        return belongParkCode + "_" + dateStr;
    }

}